package com.gopay.common.domain.cps;

import java.io.Serializable;
import javax.persistence.*;

import java.sql.Timestamp;
import java.math.BigDecimal;

/**
 * G商银通-结算单
 * @CpsGainsStlOrder.java
 * @author mz
 * @2013-8-1 上午11:07:29  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name="CPS_GAINS_STL_ORDER")
public class CpsGainsStlOrder implements Serializable {

    private static final long serialVersionUID = -5919763972813407517L;
       
	@Id
    @Column(name = "SETTLE_ORDER_NUM")
	private String settleOrderNum;
	
	@Version
	@Column(name = "VERSION")
	private int version;

	@Column(name="CREATED_TS")
	private Timestamp createdTs;

	@Column(name="LAST_UPD_TRANCODE")
	private String lastUpdTrancode;

	@Column(name="LAST_UPD_TS")
	private Timestamp lastUpdTs;

	@Column(name="ORDER_AMT")
	private BigDecimal orderAmt;

	@Column(name="ORDER_STATUS")
	private String orderStatus;
	
	@Column(name="SETTLE_DATE")
	private String settleDate;
	
	@Column(name="GOPAY_ORDER_ID")
	private String gopayOrderId;

	@Column(name="CREATED_OPER_ID")
	private String createOperId;
	
	@Column(name="JOB_ID")
	private String jobId;

    public CpsGainsStlOrder() {
    }

	public String getSettleOrderNum() {
		return this.settleOrderNum;
	}

	public void setSettleOrderNum(String settleOrderNum) {
		this.settleOrderNum = settleOrderNum;
	}

	public Timestamp getCreatedTs() {
		return this.createdTs;
	}

	public void setCreatedTs(Timestamp createdTs) {
		this.createdTs = createdTs;
	}

	public String getLastUpdTrancode() {
		return this.lastUpdTrancode;
	}

	public void setLastUpdTrancode(String lastUpdTrancode) {
		this.lastUpdTrancode = lastUpdTrancode;
	}

	public Timestamp getLastUpdTs() {
		return this.lastUpdTs;
	}

	public void setLastUpdTs(Timestamp lastUpdTs) {
		this.lastUpdTs = lastUpdTs;
	}

	public BigDecimal getOrderAmt() {
		return this.orderAmt;
	}

	public void setOrderAmt(BigDecimal orderAmt) {
		this.orderAmt = orderAmt;
	}

	public String getOrderStatus() {
		return this.orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}

    public String getSettleDate() {
        return settleDate;
    }

    public void setSettleDate(String settleDate) {
        this.settleDate = settleDate;
    }

    public String getGopayOrderId() {
        return gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }

    public String getCreateOperId() {
        return createOperId;
    }

    public void setCreateOperId(String createOperId) {
        this.createOperId = createOperId;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }
	

}